package com.google.code.sip.ucenter.service;

import java.util.List;

import com.google.code.sip.core.dao.Page;
import com.google.code.sip.ucenter.model.CreditRule;

public interface CreditRuleManager {

	Page<CreditRule> getAllCreditRules(Page<CreditRule> page);

	void saveCreditRule(CreditRule creditRule);

	CreditRule getCreditRule(String id);

	CreditRule getCreditRuleByAction(String action);

	List<CreditRule> getAllCreditRule();

}
